# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=inxi
pkgver=3.1.05
_pkgver="$pkgver"-2
pkgrel=0
pkgdesc="Fully featured CLI system information tool"
options="!check" # no upstream tests
url="https://github.com/smxi/inxi"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl"
subpackages="$pkgname-doc"
source="https://github.com/smxi/inxi/archive/$_pkgver/inxi-$_pkgver.tar.gz"
builddir="$srcdir/inxi-$_pkgver"

package() {
	install -Dm0755 inxi -t "$pkgdir"/usr/bin
	install -Dm0644 inxi.1 -t "$pkgdir"/usr/share/man/man1
}

sha512sums="7aecad5a4db49f0c32aecc8c14a40dc64d496fe0587ceb0370629875eeab7408b5d700ba68bf2a8c5fbe1b2d13f515b797ed14ad5318de5fe77a672f135c939a  inxi-3.1.05-2.tar.gz"
